import Order from './Order'
type objType = { username: string; age: number }
let obj = { address: 'ba', phone: 111 }
type myobjType = typeof obj
type keyofObj = keyof myobjType
type keyofobjType = keyof typeof obj
// let keyofobj: keyofobjType = "address"

let obj2: objType = { username: '博鳌', age: 111 }
type obj2keyofType = keyof objType
let test: obj2keyofType = 'age'

interface test {
  username: string
  age: number
}

let Obj3keyof: test = { username: 'sd', age: 11 }
type obj3keyofType = keyof test
let test2 : obj3keyofType = 'age'


export {}
